#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int line[3];
int main()
{
	scanf("%d%d%d", &line[0], &line[1], &line[2]);
	if (line[0] > line[1]) {
		line[0] = line[0] + line[1];
		line[1] = line[0] - line[1];
		line[0] = line[0] - line[1];
	}
	if (line[1] > line[2]) {
		line[1] = line[1] + line[2];
		line[2] = line[1] - line[2];
		line[1] = line[1] - line[2];
	}
	if (line[0] + line[1] <= line[2]) { printf("Not triangle\n"); return 0; }
	if (line[0] * line[0] + line[1] * line[1] == line[2] * line[2])printf("Right triangle\n");
	else if (line[0] * line[0] + line[1] * line[1] < line[2] * line[2])printf("Obtuse triangle\n");
	else printf("Acute triangle\n");
	if (line[0] == line[1] || line[1] == line[2] || line[0] == line[2])printf("Isosceles triangle\n");
	if (line[0] == line[1]&&line[1] == line[2])printf("Equilateral triangle");
	return 0;
}